package org.beanspirit.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class LoanVO implements Serializable {
  private static final long serialVersionUID = -8555213178426752422L;
  private final List<LoanDetailVO> details = new ArrayList<LoanDetailVO>();
  private SummaryVO summary;

  public void addDetail(LoanDetailVO detail) {
    details.add(detail);
  }

  public List<LoanDetailVO> getDetails() {
    return details;
  }

  public SummaryVO getSummary() {
    return summary;
  }

  public void setSummary(SummaryVO summary) {
    this.summary = summary;
  }
}
